package com.youbug.system.service;

import com.youbug.system.entity.Org;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 机构表 服务类
 * </p>
 *
 * @author youbug
 * @since 2023-03-02
 */
public interface IOrgService extends IService<Org> {

    List<Org> getOrgs();

    List<Org> getParentOrgs();

    boolean deleteOrgById(String id);

    boolean updateOrgById(Org org);
}
